<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>TPCMS内容管理系统</title>
	<hdjs />
 	<script type='javascript' src='__PUBLIC__/js/mod.base.js'></script>
	<link type="text/css" rel="stylesheet" href="__PUBLIC__/css/mod.base.css"></head>
	<link type="text/css" rel="stylesheet" href="__PUBLIC__/css/mod.index.css">
	<script type="text/javascript" src="__PUBLIC__/js/mod.index.js"></script>
	<script type="text/javascript" src="__PUBLIC__/js/mod.base.js"></script>
</head>
<body>	
	<div id="top-menu">
		<div class="t-l-menu">
			<foreach name='topMenu' item='top'>
			<a href="javascript:" onclick="topMenu(this,{$key})" class="active">{$top.menu}</a>

			</foreach>
		</div>
		<div class="t-r-menu">
			管理员: {$Think.session.user_name}
			<a href="javascript:;" onclick="if(confirm('确定退出')) location.href='{:U("Login/out")}'" target="_self">[退出]</a>
			<span>|</span>
			<a href="javascript:;"   onclick="runAction(this,'{:U('Cache/cache')}',999)">更新全站缓存</a>
			<span>|</span>
			<a href="__ROOT__/" target="_blank">前台首页</a>
		</div>
	</div>
	<!--内容区Start-->
	<div class="main">
		<!--左侧菜单Start-->
		<div id="leftMenu">
			<foreach name='menu' item='first'>
			<div id="{$key}" class="leftMenuBlock" style="display: block;">
				<foreach name='first' item='second'>	
				<dl>
					<dt>{$second.menu}</dt>
					<foreach name='second.child' item='third'>
					<dd>
						<a href="javascript:;"  onclick="runAction(this,'{$third.url}',{$third.id})" class="active" id='menu{$third.id}'>{$third.menu}</a>
					</dd>
					</foreach>
				</dl>
				</foreach>
			</div>
			</foreach>
		</div>
		<!--左侧菜单End-->
		<!--右侧区域Start-->
		<div id="content">
			<!--快速导航Start-->
			<div id="historyMenu">
				<div id="leftBtn">向左按钮</div>
				<div id="historyMenuBox">
					<div id="historyMenuList" style="left: 0px; width: 161px;">
						<ul>
						

						</ul>
					</div>
				</div>
				<div id="rightBtn">向右按钮</div>
			</div>
			<!--快速导航End-->
			<div class="show">
				<div class="options"> <a href="" class="refresh" id="J_refresh" title="刷新">刷新</a> <a href="" id="J_fullScreen" class="full_screen" title="全屏">全屏</a> </div>
				
			</div>
		</div>
		<!--右侧区域End-->
	</div>
	<!--内容区End-->
	<!--底部快速导航Start-->
	<!-- <div id="quickMenu">
		<div class="set">
			<a href="http://localhost/hdphp/hdcms/index.php?m=Admin&c=FavoriteMenu&a=set" target="frame">设置</a>
		</div>
		<div class="line"></div>

		<div class="menu-list"></div>
	</div> -->
	<!--底部快速导航End-->

</body>
</html>